package com.yyds.blackmagic.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.List;

/**
 * @Author ccc
 * @Date 2021/12/16
 * @Descripton
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminMenu implements Serializable {
    @Id
    private Integer id;
    private String path;
    private String name;
    private String nameZh;
    private String iconCls;
    private String component;
    private Integer parentId;
    @Transient
    private List<AdminMenu> children;
}
